package com.zrwl.poscloud.xo.service;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;
import java.util.Map;

public interface SyncService {

    String uploadFile(String fileName, int type, String ownerUid, String ownerCode, long size);

    String uploadFiles(int type, String ownerUid, String ownerCode, List<Map> multipartFileList);

    void download(HttpServletRequest request, HttpServletResponse response, String filePath, String fileName) throws IOException;

    long getUploadSyncCode();

    long getDownloadSyncCode();
}
